package com.project.user.action;

import com.project.base.action.BaseAction;
import com.project.user.entity.User;
import com.project.user.service.UserService;

public class UserAction extends BaseAction<User, UserService>{
	

	/**
	 * 
	 */
	private static final long serialVersionUID = -5652234217296041209L;

	@Override
	public String add() {
		service.saveObject(entity);
		return "add-success";
	}
	
	public String edit(){
		return "edit";
	}
	
	
}
